#define _CRT_SECURE_NO_WARNINGS 1

#include"BTNode.h"

void test()
{
	char a[] = "ABD##E#H##CF##G##";
	size_t size = sizeof(a) / sizeof(a[0]);
	int i = 0;
	BTNode* root = BinaryTreeCreate(a, size, &i);

	BinaryTreeLevelOrder(root);
	printf("\n");
	printf("%d\n", BinaryTreeLeafSize(root));
	printf("%d\n",BinaryTreeComplete(root));
	//BinaryTreeDestory(root);
}

int main()
{
	test();
	return 0;
}